[INFO] cloning repository https://github.com/codesections/mnemonic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codesections/mnemonic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesections%2Fmnemonic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesections%2Fmnemonic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c63b320f2a323cd661cc51ceb520f86c80cb8af9
[INFO] documenting codesections/mnemonic against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodesections%2Fmnemonic" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/codesections/mnemonic on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/codesections/mnemonic
[INFO] finished tweaking git repo https://github.com/codesections/mnemonic
[INFO] tweaked toml for git repo https://github.com/codesections/mnemonic written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/codesections/mnemonic already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5bc81b6319a1e4332b3467304cdbf594b8b7a5ec4bc8d84a1292a9fcf5af67d4
[INFO] running `Command { std: "docker" "start" "-a" "5bc81b6319a1e4332b3467304cdbf594b8b7a5ec4bc8d84a1292a9fcf5af67d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5bc81b6319a1e4332b3467304cdbf594b8b7a5ec4bc8d84a1292a9fcf5af67d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bc81b6319a1e4332b3467304cdbf594b8b7a5ec4bc8d84a1292a9fcf5af67d4", kill_on_drop: false }`
[INFO] [stdout] 5bc81b6319a1e4332b3467304cdbf594b8b7a5ec4bc8d84a1292a9fcf5af67d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b34b065ce08f7dfa11c8c992a64d9c62791f5f681755826ad05161402b75b03
[INFO] running `Command { std: "docker" "start" "-a" "7b34b065ce08f7dfa11c8c992a64d9c62791f5f681755826ad05161402b75b03", kill_on_drop: false }`
[INFO] [stderr]     Checking syntect v3.0.2
[INFO] [stderr]     Checking toml_edit v0.1.3
[INFO] [stderr]     Checking prettyprint v0.4.1
[INFO] [stdout] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:55:65
[INFO] [stdout]    |
[INFO] [stdout] 44 |       fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item {
[INFO] [stdout]    |                          -- lifetime `'v` defined here
[INFO] [stdout] 45 | /         match *v {
[INFO] [stdout] 46 | |             Item::ArrayOfTables(ref mut vec) => {
[INFO] [stdout] 47 | |                 vec.values.get_mut(*self).expect("index out of bounds")
[INFO] [stdout] 48 | |             }
[INFO] [stdout] 49 | |             Item::Value(ref mut a) if a.is_array() => a
[INFO] [stdout]    | |                         --------- mutable borrow occurs here
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |             _ => panic!("cannot access index {} in {:?}", self, v),
[INFO] [stdout]    | |                                                                 ^ immutable borrow occurs here
[INFO] [stdout] 56 | |         }
[INFO] [stdout]    | |_________- returning this value requires that `v.0` is borrowed for `'v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:88:63
[INFO] [stdout]    |
[INFO] [stdout] 70 |       fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item {
[INFO] [stdout]    |                          -- lifetime `'v` defined here
[INFO] [stdout] ...
[INFO] [stdout] 77 | /         match *v {
[INFO] [stdout] 78 | |             Item::Table(ref mut t) => t.entry(self).or_insert(Item::None),
[INFO] [stdout] 79 | |             Item::Value(ref mut v) if v.is_inline_table() => {
[INFO] [stdout]    | |                         --------- mutable borrow occurs here
[INFO] [stdout] 80 | |                 &mut v
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             _ => panic!("cannot access key {} in {:?}", self, v),
[INFO] [stdout]    | |                                                               ^ immutable borrow occurs here
[INFO] [stdout] 89 | |         }
[INFO] [stdout]    | |_________- returning this value requires that `v.0` is borrowed for `'v`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `toml_edit` due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "7b34b065ce08f7dfa11c8c992a64d9c62791f5f681755826ad05161402b75b03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b34b065ce08f7dfa11c8c992a64d9c62791f5f681755826ad05161402b75b03", kill_on_drop: false }`
[INFO] [stdout] 7b34b065ce08f7dfa11c8c992a64d9c62791f5f681755826ad05161402b75b03
